package com.whir.ezoffice.formhandler;

import com.whir.rd.swd.SendFlow2QMS;
import com.whir.rd.swd.SendFlow2QMSNew;

import java.io.PrintStream;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;

public class QMSSendFlowNew extends EzFormFlow
{
  public Map complete(HttpServletRequest request, Integer status)
  {
    System.out.println("=======get complete of webservice!=======");
    Map map = super.complete(request, status);
    SendFlow2QMSNew util = new SendFlow2QMSNew();
    util.pushStatusNew("0", request);
    return map;
  }

  public Map back(HttpServletRequest request, Integer status)
  {
    System.out.println("--------------back status-----------" + status);
    Map map = super.back(request, status);
    SendFlow2QMS util = new SendFlow2QMS();
    util.pushStatus("1", request);
    return map;
  }

  public Map cancel(HttpServletRequest request, Integer status) {
    System.out.println("--------------cancel status-----------" + status);
    Map map = super.cancel(request, status);
    SendFlow2QMS util = new SendFlow2QMS();
    util.pushStatus("2", request);
    return map;
  }
}